package com.apex.crm.utils;


import com.apex.crm.exceptions.ParamsException;

/**
 * @author XiaoYang
 * @version 1.0
 * @program: crm
 * @Classname AssertUtil
 * @description TODO
 * @date 2021/4/20 18:14
 */

public class AssertUtil {
    public static void isTrue(Boolean flag,String msg){
        if(flag){
            throw new ParamsException(msg);
        }
    }
}
